<%@ include file="/common/taglibs.jsp"%>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="menu" content="UserMenu"/>
	<title>User Setting | ACTM</title>
</head>

<h3>User Profile</h3>
<s:form action="addUser" method="post">
		<li class="info">
		<p>Please update your information using the form below.</p>
		</li>
		<s:hidden key="user.id"/>
		<s:textfield key="user.name" required="true" cssClass="text large" cssErrorClass="error" />
		<li>
	        <div>
	            <div class="left">
	                <s:password key="user.password" showPassword="true" theme="xhtml" required="true" 
	                    cssClass="text medium" cssErrorClass="error"/>
	            </div>
	            <div>
	                <s:password key="user.confirmPassword" showPassword="true" theme="xhtml" required="true"  
	                     cssClass="text medium" cssErrorClass="error"/>
	            </div>
	        </div>
	    </li>
	    <li>
	    	<s:submit/> <s:reset/>
	    	<c:if test="${!empty user.id}">
		    	<s:a action="deleteUser" cssClass="href-button delete-button">
		    		<s:param name="id">${user.id}</s:param>
		    		Delete
		    	</s:a>
	    	</c:if>
	    </li>
</s:form>
